<?php

$data = array();
$job_id = $_GET['job_id'];

$result = $dbfunc->query("SELECT * FROM tb_job WHERE job_id='{$job_id}'");

$data['job'] = array();
if($item = mysql_fetch_assoc($result)){
    $data['job'] = $item;
    $date = explode(' ',$item['job_date']);
    $data['job']['date'] = $date[0];
    $date = explode(':',$date[1]);
    $data['job']['h'] = (int)$date[0];
    $data['job']['m'] = (int)$date[1];
    $data['success'] = true;
}

echo json_encode($data);